package com.zzuli.dcxt.dao;

import com.zzuli.dcxt.entiy.Admin;
import com.zzuli.dcxt.entiy.Customer;

import java.util.List;
import java.util.Map;

public interface CustomerMapper {
    int deleteByPrimaryKey(Integer cid);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer cid);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);

    List getCustomerList();

    void updateCustomer(Customer customer);

    int getUserCount();

    List<Customer> getCustomerByPage(Map<String, Integer> cond);

    Customer login(Customer customer);
}